cmake_minimum_required(VERSION 3.15)
project(Video2Picture C)

set(CMAKE_C_STANDARD 11)

include_directories(include/)
link_directories(bin)

add_executable(Video2Picture main.c ffmpeg_log.h ffmpeg_log.c)

target_link_libraries(
        Video2Picture
        avcodec-58
        avfilter-7
        avformat-58
        avutil-56
        postproc-55
        swresample-3
        swscale-5
)